package com.ruoyi.activity.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 学校社团对象 act_community
 * 
 * @author YZD
 * @date 2022-07-12
 */
public class ActCommunity extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 社团名称 */
    @Excel(name = "社团名称")
    private String name;

    /** 社团规模 */
    @Excel(name = "社团规模")
    private String scale;

    /** 指导老师 */
    @Excel(name = "指导老师")
    private String teacher;

    /** 社团成立时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "社团成立时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date time;

    /** 社团状态 */
    @Excel(name = "社团状态")
    private Long status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setScale(String scale) 
    {
        this.scale = scale;
    }

    public String getScale() 
    {
        return scale;
    }
    public void setTeacher(String teacher) 
    {
        this.teacher = teacher;
    }

    public String getTeacher() 
    {
        return teacher;
    }
    public void setTime(Date time) 
    {
        this.time = time;
    }

    public Date getTime() 
    {
        return time;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("scale", getScale())
            .append("teacher", getTeacher())
            .append("time", getTime())
            .append("status", getStatus())
            .toString();
    }
}
